home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / BackSpaceViews / WanderingPolygonView.BackModule / Double-Click Me < prev    next >
Text File  |  1995-06-12  |  2KB  |  63 lines

  1. #!/bin/csh
  2. #  Self making program, created by Karl Kraft
  3. #  You are allowed and encouraged to use this program, or one like it
  4. #  for source that you are distrubuting.
  5. #  Please give credit where credit is due,
  6. #  And please submit any changes or ideas back to Karl Kraft, karl@bodi.portal.com
  7. #  Thanks!
  8. #
  9. #  First we need to get the full name that the workspace generated.
  10. #
  11. set dir = $0
  12.  
  13. #
  14. #  We cd to the directory we are in
  15. #
  16. cd $dir:h
  17.  
  18. #
  19. #Dump some stuff to read, while we do your compile
  20. #
  21. cat << EOF
  22. By starting this program, you have begun the installation process for WanderingPolygon.  It is assumed that you already have BackSpace,a screen saver written by Samuel Streeper, and have properly installed it.  
  23.  
  24. While you read this description, the module is being compiled.  When the compilation is done, you will be asked if you wish to install it.   You may also want to read the file README, which is in the same folder as this program.
  25.  
  26. WanderingPolygon is a module for BackSpace, that fills your screen with a wandering polygon.  The default polygon is a 3 sided triangle, but you can change this by modifying the file WanderingPolygonViewPart.h.  If Backspace ever adds a inspector for the modules, I will change WanderingPolygon to support it.
  27.  
  28. This module should appear in color on color systems.
  29.  
  30. Thank you for trying out WanderingPolygon.  I hope you like it!
  31.  
  32. Karl Kraft
  33. karl@bodi.portal.com
  34.  
  35. EOF
  36.  
  37. #
  38. # Begin the Make
  39. #
  40. make
  41. #
  42. # give the user a chance to cancel the update
  43. #
  44. cat << EOF
  45.  
  46. Continuing will install the module into /LocalLibrary/Backspace, this will enable BackSpace to find the module.
  47.  
  48. EOF
  49. echo Type '"y"' and press Return to continue','
  50. echo -n or type '"n"' and press Return to cancel:' '
  51. if ( $< !~ [yY]* ) then
  52.     echo The installation was canceled.
  53.     exit(1)
  54. endif
  55.  
  56. #
  57. # Do the installation
  58. #
  59.  
  60. mkdirs /LocalLibrary/BackSpaceViews
  61. make install
  62.  
  63. exit(0)